package cn.iocoder.yudao.module.member.controller.admin.order.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 订单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class OrderRespVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "30319")
    @ExcelProperty("主键id")
    private Long id;

    @Schema(description = "用户id", example = "14746")
    @ExcelProperty("用户id")
    private Long userId;
    private String userName;

    @Schema(description = "订单编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("订单编号")
    private String orderSn;

    @Schema(description = "订单状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("订单状态")
    private Integer orderStatus;

    @Schema(description = "用户订单留言", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("用户订单留言")
    private String message;

    @Schema(description = "商品总费用", requiredMode = Schema.RequiredMode.REQUIRED, example = "19334")
    @ExcelProperty("商品总费用")
    private Integer goodsPrice;

    @Schema(description = "开始时间")
    @ExcelProperty("开始时间")
    private LocalDateTime beginTime;

    @Schema(description = "结束时间")
    @ExcelProperty("结束时间")
    private LocalDateTime endTime;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    /**
     * 微信的订单id
     */
    private Long payOrderId;

}